import axios from '@/utils/request';
export function condition(enterprise) {
    return axios.post("enterprise/condition",enterprise)
  }

  export function ban(id) {
    return axios.get(`/enterprise/ban/${id}`)
  }
  export function unBan(id) {
    return axios.get(`/enterprise/unBan/${id}`)
  }
  export function examine(id) {
    return axios.put(`/enterprise/examine/${id}`)
  }

  export function failedExamine(id) {
    return axios.put(`/enterprise/failedExamine/${id}`)
  }
  export function findById(id) {
    return axios.get(`enterprise/findById/${id}`)
  }
  export function findEnterpriseByState(enterprise) {
    return axios.post(`enterprise/findEnterpriseByState`,enterprise)
  }
